package cn.cntv.app.ipanda.service;

import com.android.volley.Response;

/**
 * @author Xiao JinLai
 * @Date 2015-12-09 15:06
 * @Description: Http 请求服务接口
 */
public interface HttpService<T> {

    void getString(String url, Response.Listener successListener,Response.ErrorListener errorListener);

    void getJson(String url,Class<T> clas, Response.Listener successListener,Response.ErrorListener errorListener);
}
